package cn.kp.learning.dao;
import java.util.List;
import java.util.Map;

import cn.kp.learning.model.IdGenerator;

public interface IdGeneratorDao {

    int insert(String code);
    
    int updateByCode(String code);

    int updateInit(String code);
    
    IdGenerator selectByCode(String code);
    
    List<IdGenerator> selectByQua(Map<String,Object> map);
    
    int deleteByCode(String code);
}